'Declaration Public Overloads Shared Function Listen (Of TModel As INotifyPropertyChanged, TValue)( _ ByVal model As TModel, _ ByVal getter1 As Expression(Of Func(Of TModel,TValue)), _ ByVal action As Action _ ) As IDisposable
public static IDisposable Listen<TModel,TValue>( TModel model, Expression<Func<TModel,TValue>> getter1, Action action ) where TModel: INotifyPropertyChanged
Parameters
- model
- getter1
- action
Type Parameters
- TModel
- TValue
Return Value
IDisposable instance that unsibscribes events on Dispose